package com.example.qxfw.ybzz.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
@DS("qx")
public interface ThirtyYearTdStaticsMapper {

    @Select("select yearareatdrain from thirtyyear_td_statics " +
            "where stationid= #{stationId} and   tdindex= #{tdIndex}")
    List<Double> getYearAreaTdRain(String stationId,Integer tdIndex);

    @Select("select yearareatdavgtemp from thirtyyear_td_statics " +
            "where stationid= #{stationId} and   tdindex= #{tdIndex}")
    List<Double> getYearAreaTdAvgTemp(String stationId,Integer tdIndex);
}
